package cn.cxq;

import java.util.ArrayList;

/**
 * 表类
 */
public class Table {

    public Table() {
        columns = new ArrayList<>();
    }

    private String tableName; // 表名
    private ArrayList<Column> columns; // 字段
    private String tableComment; // 表注释

    public static class Column {
        String columnName; // 字段名
        String columnComment; // 字段注释
        String columnType;
    }

    public ArrayList<Column> getColumns() {
        return columns;
    }

    public void setColumns(ArrayList<Column> columns) {
        this.columns = columns;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTableComment() {
        return tableComment;
    }

    public void setTableComment(String tableComment) {
        this.tableComment = tableComment;
    }
}
